﻿Public Class Inventory
    Public SmallMissiles As Integer = 0
    Public MediumMissiles As Integer = 0
    Public LargeMissiles As Integer = 0
    Public ExtraLargeMissiles As Integer = 0

    Public SmallWarheads As Integer = 0
    Public MediumWarheads As Integer = 0
    Public LargeWarheads As Integer = 0
    Public ExtraLargeWarheads As Integer = 0

    Public AntiMissile As Integer = 0
    Public AntiAircraft As Integer = 0

    Public Bombers As Integer = 0

    Public Function HasWeaponsToDeploy() As Boolean
        If (SmallMissiles > 0 Or MediumMissiles > 0 Or LargeMissiles > 0 Or ExtraLargeMissiles > 0 Or Bombers > 0) Then
            Return True
        Else
            Return False
        End If
    End Function

    Public Function HasWarheads() As Boolean
        If (SmallWarheads > 0 Or MediumWarheads > 0 Or LargeWarheads > 0 Or ExtraLargeWarheads > 0) Then
            Return True
        Else
            Return False
        End If
    End Function

    Public Function HasDefensesToDeploy() As Boolean
        If (AntiAircraft > 0 Or AntiMissile > 0) Then
            Return True
        Else
            Return False
        End If
    End Function
End Class
